﻿/****************************
 * 选择URL
 * 魏继琼
 * 2012年2月27日21:29:21
 * **************************/
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace VideoFlowStatistics
{
    public partial class FormSelectUrl : Form
    {
        public FormSelectUrl()
        {
            InitializeComponent();
        }

          private string url;

        // 选择 URL
        public string URL
        {
            get { return url; }
        }

        // 常用URL
        public string[] URLs
        {
            set
            {
                urlBox.Items.AddRange( value );
            }
        }

        // 描述
        public string Description
        {
            get { return descriptionLabel.Text; }
            set { descriptionLabel.Text = value; }
        }

        // 点击OK
        private void okButton_Click( object sender, EventArgs e )
        {
            url = urlBox.Text;

        }

        private void FormSelectUrl_Load(object sender, EventArgs e)
        {

        }
    }
}
